package com.hs.teachsystem.configuration;

import com.hs.teachsystem.*;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 服务类Bean配置类
 * Created by MaiBenBen on 2017/7/17.
 */
@Configuration
public class ServiceConfiguration {
    @Bean
    public UserService getUserSrvice(){
        return new UserService();
    }
    @Bean
    public SystemService getSystemService(){
        return  new SystemService();
    }
    @Bean
    public TalkService getTalkService(){
        return new TalkService();
    }
    @Bean
    public RoleCallService getRoleCallService(){
        return new RoleCallService();
    }
    @Bean
    public FileService getFileService(){
        return new FileService();
    }
    @Bean
    public NoticeService getNoticeService(){
        return new NoticeService();
    }
}
